package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.BookSaleOnline;
import com.literaryfamily.literaryfamily.entity.BookSaleOnlineExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BookSaleOnlineMapper {
    long countByExample(BookSaleOnlineExample example);

    int deleteByExample(BookSaleOnlineExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BookSaleOnline row);

    int insertSelective(BookSaleOnline row);

    List<BookSaleOnline> selectByExample(BookSaleOnlineExample example);

    BookSaleOnline selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BookSaleOnline row, @Param("example") BookSaleOnlineExample example);

    int updateByExample(@Param("row") BookSaleOnline row, @Param("example") BookSaleOnlineExample example);

    int updateByPrimaryKeySelective(BookSaleOnline row);

    int updateByPrimaryKey(BookSaleOnline row);
}